package com.usian.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "关键字管理",tags = "sensitive",description ="关键字管理api" )
public interface AdsensitiveService extends IService<AdSensitive> {

    @ApiOperation(value = "关键字查询",notes = "分页查询")
    public ResponseResult findBynameandpage(SensitiveDto sensitiveDto);
    @ApiOperation(value = "关键字添加",notes = "添加")
    public ResponseResult add(AdSensitive adSensitive);

    @ApiOperation(value = "关键字删除",notes = "删除")
    public ResponseResult del(Integer id);

    @ApiOperation(value = "关键字修改",notes = "修改")
    public ResponseResult edit(AdSensitive adSensitive);
}
